﻿<%@ Page Title="" Language="C#" MasterPageFile="~/common/pages/queryzer2.Master" AutoEventWireup="true" CodeBehind="RicercaPratica.aspx.cs" Inherits="Com.AlbLab.CR.Web.pages.RicercaPratica" %>

<%@ Register Src="~/controls/GrigliaGenerica.ascx" TagName="GrigliaGenerica" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContentPlaceHolder" runat="server">
   
    <div class="header-panel-gray">
                    <div class="header-title">
                        <div class="header-text-left">
                            <label>
                                Parametri di Ricerca</label>
                        </div>
                        <div class="header-text-right">
                          <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/App_Themes/asm/images/buttons/search.gif"
              OnClick="ImageButton1_Click" />
                        <asp:LinkButton ID="xx" runat="server" OnClick="test_Click" Text="test" />
                        </div>
                    </div>
                </div>
    <div class="content-panel-gray" >
    <table>
    <tr>
    <td>Ente</td>
    <td align="center" class="LabelBlack" style="width:120px">
    <asp:DropDownList ID="ddlFornitore" runat="server"></asp:DropDownList>
    </td>
    <td>Tipo</td>
    <td align="center" class="LabelBlack" style="width:120px">
    <asp:DropDownList ID="ddlTipoPratica" runat="server"></asp:DropDownList>
  
    </td>
    <td align="center" class="LabelBlack" style="width:120px"></td>
    <td align="center" class="LabelBlack" style="width:120px"></td>
    </tr>
    <tr>
    <td>Inserita dal</td>
    <td>
    <asp:TextBox ID="txtDa" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="VS1" runat="server" ErrorMessage="!" ControlToValidate="txtDa"  ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$" ></asp:RegularExpressionValidator>
    </td>
    <td>al</td>
    <td><asp:TextBox ID="txtA" runat="server"></asp:TextBox>
    <asp:RegularExpressionValidator ID="VS2" runat="server" ErrorMessage="!" ControlToValidate="txtA"  ValidationExpression="^(((0[1-9]|[12][0-9]|3[01])[- /.](0[13578]|1[02])|(0[1-9]|[12][0-9]|30)[- /.](0[469]|11)|(0[1-9]|1\d|2[0-8])[- /.]02)[- /.]\d{4}|29[- /.]02[- /.](\d{2}(0[48]|[2468][048]|[13579][26])|([02468][048]|[1359][26])00))$" ></asp:RegularExpressionValidator>
    </td>
    </tr>
    <tr>
    <td>
    cod.fis/p.iva
    </td>
    <td colspan="3">
    <asp:TextBox ID="txtPiva" runat="server" MaxLength="16" CssClass="txt_180" Width="510px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    POD
    </td>
    <td colspan="3">
    <asp:TextBox ID="txtPod" runat="server" MaxLength="20" CssClass="txt_180" Width="510px"></asp:TextBox>
    </td>
    </tr>
    <tr>
    <td>
    N.Pratica
    </td>
    <td colspan="3">
    <asp:TextBox ID="txtPrt" runat="server" MaxLength="30" CssClass="txt_180" Width="510px"></asp:TextBox>
    </td>
    </tr>
    </table>

    </div>
    <div class="header-panel-gray">
                    <div class="header-title">
                        <div class="header-text-left">
                            <label>
                                Risultati</label>
                        </div>
                    </div>
                </div>
    <div class="content-panel-gray">
    <asp:Panel Visible="false" runat="server" ID="C1">
        <uc1:GrigliaGenerica ID="GrigliaGenerica1" runat="server" OnSelect="GrigliaGenerica1_OnSelect" ViewDelete="false" ViewEdit="false" ViewSelect="True"   />
    </asp:Panel>
   </div>

  </asp:Content>